/**
 * 面板数据适配器
 *
 * @author chitanda
 * @date 2022-02-17 15:02:01
 * @export
 * @interface PanelDataProvider
 * @template T
 */
export interface PanelDataProvider<T = unknown> {
  /**
   * 数据主键
   *
   * @author chitanda
   * @date 2022-02-17 15:02:43
   * @type {string}
   */
  id: string;
  /**
   * 文本标签
   *
   * @author chitanda
   * @date 2022-02-17 18:02:34
   * @type {string}
   */
  label: string;
  /**
   * 数据类型标识
   *
   * @author chitanda
   * @date 2022-02-17 15:02:48
   * @type {string}
   */
  type: string;
  /**
   * 源数据
   *
   * @author chitanda
   * @date 2022-02-17 15:02:54
   * @type {T}
   */
  data: T;
}
